.demo-container {
  height: 100%;
  display: flex;
  flex-direction: column
}

.demo-nav {
  display: flex;
  list-style: none;

  a {
    display: block;
    padding: .5em 1rem;
    color: #007bff;
    text-decoration: none;
    background-color: transparent
  }
}

.demo {
  height: 600px;
  flex: 1;
  background: #fff;
  overflow: hidden;
}

.demo-chart {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction:column;
  
  .demo-chart-header {
    border: 1px solid #e6e9ed;
    padding: 8px
  }

  .demo-chart-container {
    flex: 1;
    display: flex
  }

  .demo-chart-sidebar {
    width: 150px;
    background-color: #fafafa;
    border-right: 1px solid #e6e9ed;
    display: flex;
    justify-content: center;
  }

  .demo-chart-panel {
    width: calc(100% / 6);
    background-color: #fafafa;
    border-left: 1px solid #e6e9ed
  }

  .demo-chart-main {
    flex: 1
  }
}

.box-card {
  position: relative;

  .el-card__body {
    padding: 0;

    .card-title {
      position: relative;
      top: -15px;
      left: 0;
      height: 42px;
      line-height: 42px;
      padding: 0 15px;
      border-bottom: 1px solid #f6f6f6;
      color: #333;
      border-radius: 2px 2px 0 0;
      font-size: 16px;
    }

    .margin-t20 {
      border-top: 1px solid #f6f6f6;
      margin-top: 20px;
    }

    .card-line {
      margin-top: 20px;
      border-top: 1px solid #e6e6e6;
      padding-top: 20px;
    }
  }
}